package com.yu.DAO;

import com.yu.POJO.Clazz;
import com.yu.POJO.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LittleFisher
 * @Date: 2021/05/30/16:08
 * @Description:
 */
public interface clazzDao {
    public int addClazz(Clazz clazz);

    public int delClazz(int id);

    public Clazz findClazzByID(int id);

    public List<Clazz> findAllClazz();

    public int updateClazz(Clazz clazz);

    public Integer isName(String name);

    public Clazz findClazzByName(String name);

    public List<Clazz> findClazzByPojo(Clazz clazz);
}
